package com.silence.springboot.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.silence.springboot.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 作者信息表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Schema(name = "作者信息表")
@Table(value = "author_info")
public class AuthorInfoEntity extends BaseEntity {

    /**
     * 作者姓名
     */
    @Schema(description = "作者姓名")
    @Column(value = "book_author_name")
    private String bookAuthorName;

    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    @Column(value = "author_telephone")
    private String authorTelephone;

    /**
     * 邮箱地址
     */
    @Schema(description = "邮箱地址")
    @Column(value = "author_email")
    private String authorEmail;

    /**
     * 作者简介
     */
    @Schema(description = "作者简介")
    @Column(value = "author_press")
    private String authorPress;

}
